﻿using ST.Buz.Base.Entity;
using ST.WX.XCX.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ST.Buz.Base.ViewModel
{
	/// <summary>
	/// 
	/// </summary>
	public class VM_ProdSkuLookup
	{
		public int value { get; set; }

		public int ID { get; set; }

		public int Type { get; set; }

		public int TplID { get; set; }

		public int ProdID { get; set; }

		/// <summary>
		/// 名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Sku
		/// </summary>
		public string Sku { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public string Barcode { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public string CatNames { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public string Spec { get; set; }

		/// <summary>
		/// 生产厂家
		/// </summary>
		public string Producer { get; set; }

		public int PartnerID { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string PartnerName { get; set; }

        /// <summary>
        /// 扣减库存方式
        /// <see cref="ST.Buz.Base.Enums.StockReduceMethod"/>
        /// </summary>
        public int StockType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UnitMin { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public string UnitMax { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public int UnitScale { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal Price { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal PriceInLast { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal PriceIn { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal PriceMin { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal PriceLast { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal TaxRate { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal PriceMarket { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal Available { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public decimal Freezed { get; set; }

		public int OrgID { get; set; }
	}
}
